package store.lunangangster.engine.bpmn.parser.handler;

import store.lunangangster.bpmn.model.ExclusiveGateway;
import store.lunangangster.bpmn.model.Gateway;
import store.lunangangster.engine.bpmn.parser.BpmnParser;
import store.lunangangster.engine.impl.bpmn.behavior.ExclusiveGatewayBehavior;

public class ExclusiveGatewayParseHandler extends GatewayParseHandler<ExclusiveGateway> {

  @Override
  public void handle0(BpmnParser bpmnParser, ExclusiveGateway gateway) {
    gateway.setBehavior(new ExclusiveGatewayBehavior());
  }

  @Override
  public Class<? extends Gateway> getType() {
    return ExclusiveGateway.class;
  }
}
